]>
Commit | Line | Data |
---|---|---|
74c15570 BB |
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- | |
3 | This file contains an xml description of a font, and will be read by the XNA | |
4 | Framework Content Pipeline. Follow the comments to customize the appearance | |
5 | of the font in your game, and to change the characters which are available to draw | |
6 | with. | |
7 | --> | |
8 | <XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics"> | |
9 | <Asset Type="Graphics:FontDescription"> | |
10 | ||
11 | <!-- | |
12 | Modify this string to change the font that will be imported. | |
13 | --> | |
14 | <FontName>Segoe UI Mono</FontName> | |
15 | ||
16 | <!-- | |
17 | Size is a float value, measured in points. Modify this value to change | |
18 | the size of the font. | |
19 | --> | |
20 | <Size>14</Size> | |
21 | ||
22 | <!-- | |
23 | Spacing is a float value, measured in pixels. Modify this value to change | |
24 | the amount of spacing in between characters. | |
25 | --> | |
26 | <Spacing>0</Spacing> | |
27 | ||
28 | <!-- | |
29 | UseKerning controls the layout of the font. If this value is true, kerning information | |
30 | will be used when placing characters. | |
31 | --> | |
32 | <UseKerning>true</UseKerning> | |
33 | ||
34 | <!-- | |
35 | Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic", | |
36 | and "Bold, Italic", and are case sensitive. | |
37 | --> | |
38 | <Style>Regular</Style> | |
39 | ||
40 | <!-- | |
41 | If you uncomment this line, the default character will be substituted if you draw | |
42 | or measure text that contains characters which were not included in the font. | |
43 | --> | |
44 | <!-- <DefaultCharacter>*</DefaultCharacter> --> | |
45 | ||
46 | <!-- | |
47 | CharacterRegions control what letters are available in the font. Every | |
48 | character from Start to End will be built and made available for drawing. The | |
49 | default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin | |
50 | character set. The characters are ordered according to the Unicode standard. | |
51 | See the documentation for more information. | |
52 | --> | |
53 | <CharacterRegions> | |
54 | <CharacterRegion> | |
55 | <Start> </Start> | |
56 | <End>~</End> | |
57 | </CharacterRegion> | |
58 | </CharacterRegions> | |
59 | </Asset> | |
60 | </XnaContent> |